﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<!-- 留言板页面 -->
<head>
</head>
<body>
	<!-- 引用头部样式 -->
	<jsp:include page="header.jsp"></jsp:include>

	<div class="am-slider am-slider-default"
		data-am-flexslider="{playAfterPaused: 8000}">
		<ul class="am-slides">
			<c:forEach items="${banlist }" var="ban">
				<li><img src="${ban.url }" alt="${ban.title }" /></li>
			</c:forEach>
		</ul>
	</div>
	<div>
		<header class="header-article-list">
			<h1>在线留言</h1>
		</header>
		<div>
			<form class="message-form" method="post"
				action="HomeServlet?method=toMessage">

				<label> 姓名 <input type="text" name="username"> <span>*</span>
				</label> <label> 电话 <input type="text" name="tel"> <span>*</span>
				</label> <label> 邮箱 <input type="email" name="email"> <span>*</span>
				</label> <label> 内容 <textarea name="content"></textarea> <span>*</span>
				</label>
				<button type="submit" class="am-btn am-btn-danger">提交</button>
			</form>
		</div>
	</div>
	﻿
	<!-- 引用底部样式 -->
	<jsp:include page="footer.jsp"></jsp:include>
</body>
</html>